<template>
  <div class="app-container home">
    <el-row :gutter="20">
      <el-col :sm="24" :lg="12" style="padding-left: 20px">
        <h2>驾校管理系统</h2>
        <p>
          面向驾校业务的一体化管理平台，涵盖学员招生、资料审核、缴费管理、科目进度、考试安排、补考管理、教练与员工管理等核心模块，帮助驾校实现信息化与精细化运作。
        </p>
        <p>
          <b>当前版本:</b> <span>v{{ version }}</span>
        </p>
        <p>
          <el-tag type="success">稳定运行</el-tag>
        </p>
      </el-col>

      <el-col :sm="24" :lg="12" style="padding-left: 50px">
        <el-row>
          <el-col :span="12">
            <h2>功能概览</h2>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="6">
            <h4>学员管理</h4>
            <ul>
              <li>报名信息管理</li>
              <li>资料审核与档案</li>
              <li>费用与票据</li>
            </ul>
          </el-col>
          <el-col :span="6">
            <h4>教学考试</h4>
            <ul>
              <li>科目进度跟踪</li>
              <li>考试&补考安排</li>
              <li>成绩与档案</li>
            </ul>
          </el-col>
          <el-col :span="6">
            <h4>财务管理</h4>
            <ul>
              <li>收费项目配置</li>
              <li>收款/退款/对账</li>
              <li>统计报表</li>
            </ul>
          </el-col>
          <el-col :span="6">
            <h4>组织人事</h4>
            <ul>
              <li>教练/员工管理</li>
              <li>岗位与权限</li>
              <li>部门与角色</li>
            </ul>
          </el-col>
        </el-row>
      </el-col>
    </el-row>
    <el-divider />
    <el-row :gutter="20">
      <el-col :xs="24" :sm="24" :md="12" :lg="8">
        <el-card class="update-log">
          <div slot="header" class="clearfix">
            <span>常用入口</span>
          </div>
          <div class="body">
            <p><i class="el-icon-user"></i> 学员管理：从报名到毕业全流程</p>
            <p><i class="el-icon-school"></i> 科目进度：科一至科四进度追踪</p>
            <p><i class="el-icon-tickets"></i> 收费管理：收费项目配置与收退款</p>
            <p><i class="el-icon-s-custom"></i> 教练管理：人员信息与排班</p>
          </div>
        </el-card>
      </el-col>
      
      <el-col :xs="24" :sm="24" :md="12" :lg="8">
        <el-card class="update-log">
          <div slot="header" class="clearfix">
            <span>数据看板</span>
          </div>
          <div class="body">
            <p>今日新增报名：—— 人</p>
            <p>本周安排考试：—— 场</p>
            <p>待审核档案：—— 份</p>
            <p>待缴费学员：—— 人</p>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "Index",
  data() {
    return {
      // 版本号
      version: "3.9.0"
    }
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank")
    }
  }
}
</script>

<style scoped lang="scss">
.home {
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }
  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }
  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }

  .update-log {
    ol {
      display: block;
      list-style-type: decimal;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      padding-inline-start: 40px;
    }
  }
}
</style>

